package co.com.travelsoft.ati.client;


import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.History;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class TravelSoftWeb implements EntryPoint {
	
	
	Login login = new Login();
	

	/**
	 * Create a remote service proxy to talk to the server-side Greeting service.
	 */
	private final TravelSoftServiceAsync servicio = GWT
			.create(TravelSoftService.class);

	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		
		
		RootPanel rootPanel = RootPanel.get();

		HorizontalPanel horizontalPanel = new HorizontalPanel();
		rootPanel.add(horizontalPanel, 10, 10);
		horizontalPanel.setSize("430px", "280px");

		
		horizontalPanel.add(login);


		History.addValueChangeHandler(new HistoryListener());
		History.fireCurrentHistoryState();
		
		
		
		
		
				
		
	}
}
